package com.qg.wcsopcuaqj.business.params;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2021/10/11 10:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "任务参数", description = "任务参数")
public class TWcsTaksParam {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    /**
     * 添加时间，入库时间
     */
    @ApiModelProperty(value = "createTime", example = "2021-10-11T02:49:26.616Z")
    private LocalDateTime createTime;

    /**
     * 修改时间，更具修改时间来判断下次执行顺序，第一次修改时间和新增时间相同
     */
    @ApiModelProperty(value = "updateTime", example = "2021-10-11T02:49:26.616Z")
    private LocalDateTime updateTime;

    /**
     * 任务编码
     */
    @ApiModelProperty(value = "code", example = "123121111")
    private String code;

    /**
     * 状态，0：未执行，1：正在执行，2：执行成功，3：执行失败
     */
    @ApiModelProperty(value = "status", example = "0")
    private Integer status;

    /**
     * 标识卡号
     */
    @ApiModelProperty(value = "idenCardNumber", example = "0")
    private String idenCardNumber;

    /**
     * 产品名称，有多个逗号隔开
     */
    @ApiModelProperty(value = "productName", example = "0")
    private String productName;

    /**
     * 材料牌号，有多个逗号隔开
     */
    @ApiModelProperty(value = "materialGrade", example = "0")
    private String materialGrade;

    /**
     * 开始位置
     */
    @ApiModelProperty(value = "startPosition", example = "0")
    private String startPosition;

    /**
     * 结束位置
     */
    @ApiModelProperty(value = "endPosition", example = "0")
    private String endPosition;
}
